package com.siyuan.blog.dao.system;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.siyuan.blog.domain.system.Cus;
import org.apache.ibatis.annotations.Insert;


public interface CusMapper extends BaseMapper<Cus> {

    @Insert("insert into cus(count,password,name,sex,date,phone,email,address)  " +
            "values (#{cus.getCount()},#{cus.getPassword()},#{cus.getName()},#{cus.getSex()}" +
            ",#{cus.getDate()},#{cus.getPhone()},#{cus.getEmail()},#{cus.getAddress()})")
    int add(Cus cus);
}
